﻿using System;
namespace DeliveryManage.Model
{
	/// <summary>
	/// Pro_ShopGoods:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Pro_ShopGoods
	{
		public Pro_ShopGoods()
		{}
		#region Model
		private int _id;
		private string _code="";
		private string _name="";
		private bool _lable= false;
		private decimal _normalprice=0.00M;
		private decimal _counterprices= 0.00M;
		private decimal _activityprices= 0.00M;
		private decimal _costprice= 0.00M;
		private decimal _commission = 0.00M;
		private int _stock=0;
		private int _calcspec=1;
		private int _specnum=1;
		private string _specunit="";
		private string _picture="";
		private bool _isshow= true;
		private DateTime? _showdate= DateTime.Now;
        private int _sortby = 99;
        /// <summary>
        /// 自增Id
        /// </summary>
        public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 商品编码
		/// </summary>
		public string Code
		{
			set{ _code=value;}
			get{return _code;}
		}
		/// <summary>
		/// 商品名称
		/// </summary>
		public string Name
		{
			set{ _name=value;}
			get{return _name;}
		}
		/// <summary>
		/// 商品标签
		/// </summary>
		public bool Lable
		{
			set{ _lable=value;}
			get{return _lable;}
		}
        /// <summary>
        /// 正常市场价格
        /// </summary>
        public decimal NormalPrice
		{
			set{ _normalprice=value;}
			get{return _normalprice;}
		}
		/// <summary>
		/// 内部出售价格
		/// </summary>
		public decimal CounterPrices
		{
			set{ _counterprices=value;}
			get{return _counterprices;}
		}
        /// <summary>
        /// 活动价格
        /// </summary>
        public decimal ActivityPrices
		{
			set{ _activityprices=value;}
			get{return _activityprices;}
		}
		/// <summary>
		/// 成本价格
		/// </summary>
		public decimal CostPrice
		{
			set{ _costprice=value;}
			get{return _costprice;}
		}
        /// <summary>
        /// 返佣金额/员工提成金额
        /// </summary>
        public decimal Commission
        {
			set{ _commission = value;}
			get{return _commission; }
		}
		/// <summary>
		/// 库存
		/// </summary>
		public int Stock
		{
			set{ _stock=value;}
			get{return _stock;}
		}
        /// <summary>
        /// 计件规格
        /// </summary>
        public int CalcSpec
		{
			set{ _calcspec=value;}
			get{return _calcspec;}
		}
        /// <summary>
        /// 单件数量
        /// </summary>
        public int SpecNum
		{
			set{ _specnum=value;}
			get{return _specnum;}
		}
		/// <summary>
		/// 规格单位
		/// </summary>
		public string SpecUnit
		{
			set{ _specunit=value;}
			get{return _specunit;}
		}
		/// <summary>
		/// 封面图
		/// </summary>
		public string Picture
		{
			set{ _picture=value;}
			get{return _picture;}
		}
		/// <summary>
		/// 是否上架
		/// </summary>
		public bool IsShow
		{
			set{ _isshow=value;}
			get{return _isshow;}
		}
		/// <summary>
		/// 创建日期
		/// </summary>
		public DateTime? ShowDate
		{
			set{ _showdate=value;}
			get{return _showdate;}
		}
        /// <summary>
        /// 排序
        /// </summary>
        public int SortBy
        {
            set { _sortby = value; }
            get { return _sortby; }
        }
        #endregion Model

    }
}

